AwaitPromiseRequest

data class AwaitPromiseRequest(promiseObjectId: RemoteObjectId, returnByValue: Boolean?, generatePreview: Boolean?)

Represents request frame that can be used with Runtime#awaitPromise operation call.

Add handler to promise with given promise object id.

See also

Constructors

AwaitPromiseRequest
Link copied to clipboard
fun AwaitPromiseRequest(promiseObjectId: RemoteObjectId, returnByValue: Boolean? = null, generatePreview: Boolean? = null)

Properties

generatePreview
Link copied to clipboard
val generatePreview: Boolean? = null
Whether preview should be generated for the result.
promiseObjectId
Link copied to clipboard
val promiseObjectId: RemoteObjectId
Identifier of the promise.
returnByValue
Link copied to clipboard
val returnByValue: Boolean? = null
Whether the result is expected to be a JSON object that should be sent by value.

Sources

jvm source
Link copied to clipboard